import { createApp } from 'vue'
import App from './App.vue'
import {router} from "@/router";
import "@/styles/index.less"; // 引入项目样式文件
import 'vant/lib/index.css'; // 引入vant样式文件
// 引入css
import 'vant/es/toast/style';
import 'vant/es/notify/style'
// 确认框同理，其它不显示的样式同理引入相关css即可
import 'vant/es/dialog/style'
import { createPinia } from 'pinia'
import {registerStore} from "@/store";
import { Lazyload } from 'vant';


const app = createApp(App)
app.use(createPinia())
registerStore()
app.use(router)
app.use(Lazyload);
app.mount('#app')
